home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11580 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: freenet.vcu.edu!not-for-mail
  2. From: hguller@freenet.vcu.edu
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Borland C's tmpnam()
  5. Date: 25 Mar 1996 00:53:31 -0500
  6. Organization: Central Virginia's Free-Net
  7. Distribution: world
  8. Message-ID: <4j5ccr$isd@freenet.vcu.edu>
  9. NNTP-Posting-Host: freenet.vcu.edu
  10.  
  11. >
  12. >                           RE: BORLAND C'S TMPNAM()
  13. >                                       
  14. >   Newsgroups: comp.lang.c
  15. >          Post a followup article to newsgroup(s)
  16. >   From: Larry Weiss <lfw@iadfw.net>
  17. >          Send e-mail reply to: Larry Weiss
  18. >   Date: Sat, 23 Mar 1996 21:26:23 -0600
  19. >   Organization: customer of Internet America
  20. >I might have written the Standard to say "not the name of an existing file 
  21.  
  22. That is what K&R II says.
  23.  
  24.  
  25. >at the time that the name was created".   
  26.  
  27. This is obvious.
  28.  
  29. >There is no guarantee that that particular
  30. >name is somehow reserved against future use by other processes that may be 
  31. >competing
  32. >with your C based process for file names.   
  33.  
  34. I don't think the C standard concerns itself with multiprocessing.
  35.  
  36. Tmpnam will only work TMP_MAX times during the execution of a program.
  37. -- 
  38. Harold Guller 
  39. hguller@freenet.vcu.edu
  40.